import request from '../utils/request';
const url = 'http://localhost:8080/medical';
export const uploadFile = (formData : FormData) => {
    return request({
        url: url+'/upload',
        method: 'post',
        data: formData,
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        withCredentials: true
    });
};